package com.matrix.java.chap_05;

public class Ex5_24 {
    public static void main(String[] args) {
        double sum = 0;
        for (int i = 1; i < 99; i+=2) {

            sum += (double) i/(i+2);
        }
        System.out.println(sum);
    }
}
